package cn.wolfcode.wms.mapper;

import cn.wolfcode.wms.domain.Department;
import cn.wolfcode.wms.query.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void save(Department dept);

    void delete(long id);

    void update(Department dept);

    Department get(long id);

    List<Department> list();

    List<Department> queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);
}
